.block-item-container {
    width: 100%;

    .blockPreview {
        height: 200px;
        padding-left: 10px;
        width: 100%;
        position: relative;

        ::ng-deep {
            .blocklyMainBackground {
                stroke: none;
            }
        }
    }

    .error-message {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
        padding: 8px 12px;
        background-color: #fff5f5;
        border: 1px solid #ffcccc;
        border-radius: 4px;
        color: #d63384;
        font-size: 12px;

        .error-icon {
            font-size: 14px;
        }

        span {
            flex: 1;
        }
    }
}